home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / dev / src / expat-src.lha / expat-1.95.2 / xmlwf / xmlmime.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-07-28  |  484 b   |  20 lines

  1.  
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5.  
  6. /* Registered charset names are at most 40 characters long. */
  7.  
  8. #define CHARSET_MAX 41
  9.  
  10. /* Figure out the charset to use from the ContentType.
  11. buf contains the body of the header field (the part after "Content-Type:").
  12. charset gets the charset to use.  It must be at least CHARSET_MAX chars long.
  13. charset will be empty if the default charset should be used. */
  14.  
  15. void getXMLCharset(const char *buf, char *charset);
  16.  
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20.